package com.rraj;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by hqm on 2017/6/24.
 */
@SpringBootApplication
@EnableEurekaServer
@ComponentScan
public class ApplicationEurekaServer {
    public static void main(String args[]){
         SpringApplication.run(ApplicationEurekaServer.class,args);
//        new SpringApplicationBuilder(Application.class).web(true).run(args);
    }
}
